# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         classtest
# Description:
# Author:       asus
# Date:         2019/3/5
#-------------------------------------------------------------------------------



zhsh_dict = {
    '1到99':[],
    '100到999':[],
    '1000到1999':[]
}
leap = 1
for i in range(1,100):
    k = (int(i/2)+1)
    for j in range(2,k):
        if(i%j == 0):
            leap = 0
            break
    if leap:
        print(i)
        zhsh_dict['1到99'].append(i)
    leap = 1

for i in range(100,1000):
    k = (int(i/2)+1)
    for j in range(2,k):
        if(i%j == 0):
            leap = 0
            break
    if leap:
        print(i)
        zhsh_dict['100到999'].append(i)
    leap = 1

for i in range(1000,2000):
    k = (int(i/2)+1)
    for j in range(2,k):
        if(i%j == 0):
            leap = 0
            break
    if leap:
        print(i)
        zhsh_dict['1000到1999'].append(i)
    leap = 1

print(zhsh_dict)
